Jump to content

[SOLVED] HTACCESS wrecking site


Recommended Posts

Hi everyone. My site www.shoprushsoccer.com is broken - take a look to find out. This is with no htaccess. When I generate a new one via the backend generator, I get a 404 error.

 

Not Found

The requested URL /shoprush/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache Server at shoprushsoccer.com Port 80

 

 

Here is what's in the htaccess.

 

 

<IfModule mod_rewrite.c>

# URL rewriting module activation

RewriteEngine on

 

# URL rewriting rules

RewriteRule ^api/?(.*)$ /shoprush/webservice/dispatcher.php?url=$1 [QSA,L]

</IfModule>

 

# Catch 404 errors

ErrorDocument 404 /shoprush/404.php

 

 

Any thoughts?!

Link to comment
Share on other sites

if your prestashop installation on your main domain www.shoprushsoccer.com

 

Check your settings.inc.php file inside /config folder

 

<?php
define('__PS_BASE_URI__', '/shoprush/');

 

 

it should be like

 

 

<?php
define('__PS_BASE_URI__', '/');

 

and dont forget to check domain URL that you entered in the Back Office, SEO section

Edited by DapurPixel (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...