b3lthaZor
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Redirect / Internal Links problemHi Rajan,
Thanks for the reply.
I’ve just investigated this with the customer support of my hosting, so we found the issue, but not sure with the solution.
Previously I said that I hosted more than 1 blog in the hosting service, where http://mixedupalready.com is my main domain, while the others are add on.
I did put a redirect code on the .htaccess of http://mixedupalready.com, which apparently (after I investigated this with my hosting), also affected other domains in the same hosting.
After I looked at the public html, the hosting – domain relation is like this
Public HTML folder, consists of:
– files of http://mixedupalready.com, including the .htaccess
– folder of http://kadungcampur.com (if i look inside, there is .htaccess too)So I think, as the http://mixedupalready.com is located at the public html, not contained in 1 folder, that’s why any changes on the .htaccess will affect other domains (that’s what I thought haha).
The customer support said that probably I should modify the redirect code, so it won’t affect other domains. I don’t understand about coding, as I got this from https://yoast.com/change-wordpress-permalink-structure/. If you know coding, perhaps you could help me how to make this code only affecting http://mixedupalready.com only?
This is what I got from Yoast: (it was $2 at the end before – is there any difference with $1 :D)
RedirectMatch 301 ^/([^/]+)/$ http://mixedupalready.com/$1Can you help?