PDA

View Full Version : domain link


Hectorsky
01-27-2016, 01:05 PM
I want to to change forum.domain.com to domain.com , i changed that setting on URL settings from admincp

domain.com
domain.com
domain.com/core

But still doesn't work , maybe I need something to fix on my httacces

here is my httcces :

RewriteEngine On

#In some cases where you have other mod_rewrite rules, you may need to comment out the following line
#and change it to match your folder name. This resets the other mod_rewrite rules for just this directory
#If your site was www.example.com/forum, the setting would be /forum/
#RewriteBase /

# Send css calls directly to the correct file VBV-7807
RewriteRule ^css.php$ core/css.php [NC,L]

# Redirect old install path to core.
RewriteRule ^install/ core/install/ [NC,L]

# Main Redirect
RewriteCond %{REQUEST_URI} !\.(gif|jpg|jpeg|png|css)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]

# Because admincp is an actual directory.
RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]

</IfModule>

Hectorsky
01-27-2016, 01:06 PM
also i got now domain link like this :
http://forum.domain//index.php

--------------- Added 1453923820 at 1453923820 ---------------

Fixed by myself :) Basically i had redirections on my hosting panel so that was brake my website . Because I changed URL settings but I got there redirections , so that was causing problems on login admincp and forum. How I was fixed ?

1. I deleted all redirections from my hosting panel.
2. Changed URL settings via phpmyadmin , you can find it on setting tabel , on page nr 2 and nr 4,
3. Made new redirections but an other ways

That's all :)