简体   繁体   中英

Joomla 3 - Generate URL based on article alias without creating menu item

Description: I have almost 4,000 articles and now i want the SEF URLs for them all based on alias of each article is it possible if i can achieve this without creating menu items? ie (www.websitename.com/article-alis)

Problem: I know i can achieve this if i create menu items for them all but i don't want to create 4,000 menu items and want some quick and easy way but based on article alias so i can change it whenever i want.

Thanks, Aamir

UPDATE

If you want make that, you must do rename htaccess.txt (for activate SEO Control) and modify your .htaccess (on main folder site) and peraps create your propers rules.

First : Have you renmae the htaccess.txt file (on main folder site) to .htaccess ?

is here where contain all rules for rewriting!

Example: RewriteRule ^folder1.*$ http://example.com/folder2/ [R=301,L]

On this example, all article start on folder name folde1 is rewrite by folder2

You can see more : https://mediatemple.net/community/products/dv/204643270/using-htaccess-rewrite-rules

or for Joomla 3 rewriting : https://docs.joomla.org/Enabling_Search_Engine_Friendly_%28SEF%29_URLs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM