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

1.3k views Asked by At

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? i.e (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

1

There are 1 answers

4
P. Frank On

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 folde1is 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