Jump to content

after change new domain what I need to do?


bing11

Recommended Posts

hello


I change new domain  . and get new  Licensed URLs.

change the 'base_url' =>  in "conf_global.php"

the homepage and admincp'page work fine

but  I click any link on the homepage 

show me 

Not Found

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

please help 

thanks

 

 

Link to comment
Share on other sites

1 hour ago, bfarber said:

It sounds like you have friendly URLs enabled but don't have a .htaccess file (or appropriate rewrite rules) set up correctly for the site.

 

thank you  It works now 

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /404error.php [L,NC]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
#<IfModule mime_module>
#  AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
#</IfModule>
# php -- END cPanel-generated handler, do not edit

could you check this .htaccess file, anything I need edit ?

 

thank you

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...