Forum Support

Shape 5
March 28, 2024, 03:38:36 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: URL rewriting generates 404 messages  (Read 339 times)
bgonzales
Jr. Member
**
Offline Offline

Posts: 7



« on: 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.
« Last Edit: March 13, 2015, 03:15:48 PM by bgonzales » Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: 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.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
MurrayG
Jr. Member
**
Offline Offline

Posts: 96



« Reply #2 on: 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 (.)
  
« Last Edit: May 02, 2015, 05:00:39 PM by MurrayG » Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #3 on: 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.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.