as soon as i turn Friendly UrL's on.. in system settings.. i get the home page alright but as soon as i click on a link..
the friendly url's seem to have worked but the pages seems unresponsive.. i get an error message instead that
"The requested document was not found on the server"..
pls help ?
-
☆ A M B ☆
- 24,524 Posts
Are you sure that you copied the ht.access file to .htaccess? Is your site hosted on an Apache web server?
i dont know if its apache web server or not.. but its on godaddy's servers.
i have correctly copied the ht.access to .htaccess..
it has been done correctly.. dont know whats wrong ?
Do you have this tag in the head section of all templates?
<base href="[[++site_url]]" />
If you have multiple front-end contexts, it should be:
<base href="[[!++site_url]]" />
yes bob i do have the code in the head section of all the templates.. still my pages are not found on the server as soon as i say yes to the setting of Use Friendly URLs.. ? pls guide ..
Is the site in a subdirectory?
What's the RewriteBase in the .htaccess file?
[ed. note: BobRay last edited this post 11 years, 8 months ago.]
-
☆ A M B ☆
- 2,213 Posts
We still need to figure out if you are using a Linux or Windows server with GoDaddy, as they offer both options. If you are on a Windows server for example the .htaccess file will have no effect.
yes the site is in a subdirectory.. its in modx subdirectory.. what has to be done to make the pages show up again ?
i have added ReWrite Base /modx too.. but it doesnt seem to have solved the problems.. i dont know which server godaddy has assigned to me.
Sorry, that should RewriteBase and it should end with a slash:
It may not be your problem, so if this doesn't work, change it back to:
As AMDbuilder says, though, if it's a Windows server, this isn't going to help.
yes bob it didnt work out for me .... so i changed the setting back to RewriteBase /
i think its a windows server. can you guide me how to go about changing settings if its a windows server from godaddy.
thanks so much !