| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
404 Page Redirect | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
404 Page Redirect
How would I eliminate the default 404 page in x-cart and just redirect users to the home page?
I tried to do a redirect in htaccess, but I can't even figure out where the 404 page is coming from. I played around with 404.php but didn't have any luck.
__________________
X-CART GOLD 4.4.4 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: 404 Page Redirect
look in either skin/common_files/ or skin/YOUR-SKIN and you will find a folder named 404. Inside is the html page that you can edit. I would not recommend putting in a redirect.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
|
#4
|
|||||||
|
|||||||
Re: 404 Page Redirect
how do you redirect 404 to home.php in .htaccess
ErrorDocument 404 http://www.myurl.com/home.php ErrorDocument 401 http://www.myurl.com/home.php still not working... any help is greatly appreciated
__________________
Version 4.1.11 |
|||||||
#5
|
|||||||
|
|||||||
Re: 404 Page Redirect
You are better off redirecting 404's to a page where you can provide alternative options for the customer, eg. links to sitemap etc.
To redirect 404 error to a static page, create a new 404 error static page, noting the page ID number. Then edit /include/func/func.core.php After... Code:
Code:
Or, to just redirect to the homepage, insert... Code:
__________________
xcartmods.co.uk |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|