WordPress with a redirected URL
-
I installed wordpress to:
/home/rizbit/public_html/mysite.co.uk/rafztar
location URL is :
https://mysite.co.uk/rafztar
thats where all the core WP files are.Everything works fine. But I want the users to users to use rafztar.com to visit the site. So I set up a wildcard redirect in cpanel:
rafztar.com > https://mysite.co.uk/rafztar
This seems to work. But all the links in the website start with https://mysite.co.uk/rafztar instead of rafztar.com
I can fix this by changing the Site Address (URL) in WP Settings to rafztar.com Then all the links in the website change to “https://rafztar.com/about_etc…” but then when you click the link you get shown a 500 Internal Server error. I dont understand why this is.
Because I have seperate non WP files upload to https://mysite.co.uk/rafztar e.g https://mysite.co.uk/rafztar/mymusic.mp3 and I can download them from my browser using https://rafztar.com/mymusic.mp3I dont see any server error logs on ftp on cpanel.
So why is this?
The page I need help with: [log in to see the link]
- The topic ‘WordPress with a redirected URL’ is closed to new replies.