Portal Home > Knowledgebase > Articles Database > Htaccess and folders
Htaccess and folders
Posted by mixmox, 04-11-2014, 07:53 AM |
hello everyone
we run joomla for one of our website with url friend extension which is improving seo rank by change all files from php to html
no check this url :
http://domain.com/services/hosting.html
there isnt any folder in server with this name: services
i need htaccess rule to redirect who want to directly visit http://domain.com/services/ ,but he can visit http://domain.com/services/hosting.html
|
Posted by Truman, 04-11-2014, 02:13 PM |
To be clear, you want to access the url http://domain.com/services/ and the contents inside as it is without redirecting it to http://domain.com ?
|
Posted by mixmox, 04-11-2014, 04:33 PM |
joomla seo system , change article address to something else when we enable it
as Mather of fact folder "services" isnt a real folder and its the name of article category, like : http://domain.com/services/hosting.html
but if you remove hosting.html and try http://domain.com/services
joomla send you an error: this page doesn't exist
i want to redirect all user who want to visit http://domain.com/services
but they can visit http://domain.com/services/hosting.html
|
Add to Favourites Print this Article
Also Read