View Single Post
  #2  
Old 02-12-2020, 11:42 AM
 
Ed B. Ed B. is offline
 

X-Adept
  
Join Date: Apr 2016
Posts: 446
 

Default Re: Redirect "creat user creation" to static page.

Quote:
Originally Posted by jungha
V 5.4.0.9 (X-Cart Hosting)

I added below in .htaccess but nothing was changed. I don’t know what’s wrong, I have almost zero knowledge about Apache and PHP.

RewriteRule ^cart.php?target=profile membership [L]






There are several reasons why this doesn't work.
  • .htaccess file isn't read for one reason or another (typically because of the server configuration that doesn't allow override by .htaccess). This is unlikely because it would conflict other x-cart functionality
  • the rewrite module is not installed. This is also unlikely since it is part of standard modules
  • the rewrite module is not loaded. In this case, you need to add
    Code:
    LoadModule rewrite_module modules/mod_rewrite.so
    in the main apache configuration file.
  • the rewrite engine is not enabled. (this can happen together with the previous one). You will need to add
    Code:
    RewriteEngine on
    either in your main appach configuration file or .htaccess file.

    Hope this helps.
__________________
X-cart 5.2.12, php 5.6
Ed from Grenoble, France
Reply With Quote