Jump to content

After deleting minic slider, my add module function in admin panel does not work


Recommended Posts

i just do a clean install of prestashop, looks like i still cannot use my add module function. It was working initially

 

Edited

 

Ok i found the problem, without the www. my add a new module will work perfectly, it will have the drop down effect. however, with the www. it will not work properly.

 

I did edit my htaccess to redirect every http request that contains without the www. to my www.domain.com. Another thing is I add in the rule to redirect my subdirectory to the main www.domain.com So my question is does this 2 factors will affect the admin panel?

 

 

# Use PHP5 Single php.ini as default

AddHandler application/x-httpd-php5s .php

RewriteEngine On

RewriteCond %{HTTP_HOST} !^www\.

RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

# BlueHost.com

# .htaccess main domain to subdirectory redirect

# Copy and paste the following code into the .htaccess file

# in the public_html folder of your hosting account

# make the changes to the file according to the instructions.

# Do not change this line.

RewriteEngine on

# Change example.com to be your main domain.

RewriteCond %{HTTP_HOST} ^(www.)?xxx.com$

# Change 'subdirectory' to be the directory you will use for your main domain.

RewriteCond %{REQUEST_URI} !^/xx33/

# Don't change these line.

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

# Change 'subdirectory' to be the directory you will use for your main domain.

RewriteRule ^(.*)$ /xx33/$1

# Change example.com to be your main domain again.

# Change 'subdirectory' to be the directory you will use for your main domain

# followed by / then the main file for your site, index.php, index.html, etc.

RewriteCond %{HTTP_HOST} ^(www.)?xx.com$

RewriteRule ^(/)?$ xx33/index.php [L]

Edited by slayer88 (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...