Shape 5

Joomla Templates => Risen Hope - Club => : bgonzales March 13, 2015, 02:57:14 PM



: URL rewriting generates 404 messages
: bgonzales March 13, 2015, 02:57:14 PM
The installed template has the URL rewriting set to off. I renamed by htaccess.txt file to .htaccess and turned the URL rewriting to ON.  I also took the "#" off of the line RewriteBase / in the .htaccess. Now all of my menu items and links generate a 404 message.  If I turn the URL rewriting back off, they work just fine.  I am working on a site using the http:// IP address/~account name.  Does that have something to do with it? I did verify with my host that the mod_rewrite is enabled.


: Re: URL rewriting generates 404 messages
: mikenicoll March 16, 2015, 12:32:23 AM
Hello,

I am not quite sure on that as our Template doesn't control that feature/option. Every sever also handles htaccess and URL generation differently and can often times have additional steps required. I tested this process on my server by just renaming the htaccess file and the menu links were redirecting properly. Perhaps try recreating the menu items to see if this helps with new IDs. From there you might want to contact your host to see if they require any additional steps. I know GoDaddy for example has 2 additional lines you have to swap out.


: Re: URL rewriting generates 404 messages
: MurrayG April 30, 2015, 01:20:20 PM
I had the same 404 problem with QualityHostOnline hosting until I read the instructions correctly and changed htaccess.txt to .htaccess  I had missed the (.)
  


: Re: URL rewriting generates 404 messages
: mikenicoll April 30, 2015, 08:37:38 PM
Hello,

404 is handled by the server settings and the error.php file. To verify for any issues you can remove any error.php files in the Template root folder and use the Joomla Default. If the issue still occurs there then that means your server isn't handling incorrect URLs properly.