Mask my wordpress URL (7 posts)

  1. Shannon W
    Posted 4 years ago #

    I have the URL of my website: http://www.domain.com/ and I have setup a wordpress blog on http://blog.domain.com/.

    1. is there a way I can mask the WordPress URL to always look like http://www.domain.com/? (i.e. although it is accessing http://blog.domain.com/, can I rewrite the URL to read http://www.domain.com/)
    2. Can I force a 404 at http://www.domain.com/ to redirect to http://blog.domain.com/ and then if not found show 404 page?

    Thanks in advance

  2. Jonas Grumby
    Posted 4 years ago #

    I have the URL of my website: http://www.domain.com and I have setup a wordpress blog on blog.domain.com.

    So, you have WordPress in a folder called /blog and you have set up a subdomain?


  3. Shannon W
    Posted 4 years ago #

    It is on a sub-domain: http://blog.domain.com/

  4. Jonas Grumby
    Posted 4 years ago #

    Usually a subdomain is just another way of addressing a subfolder. If you FTP to your server, are the files in a subfolder called /blog?

    Did you read this?


  5. Shannon W
    Posted 4 years ago #

    I don't want to move it, I want to mask blog.domain.com

  6. Jonas Grumby
    Posted 4 years ago #

    You actually don't have to move any files. You can just use your hosting control panel or ask your hosting tech support to point your domain name to the subfolder. You would have to change the URLs in Settings > General first, or use these instructions to reset the URLs after the domain name has been pointed directly to the subfolder.


    This is a preferable setup when you want to have multiple installations of WordPress on one hosting account, and in fact it's how my site is set up. I have about 6 installations of WordPress running and resolving to different domain names. None of them are in the root folder of my hosting account.

  7. 3x7
    Posted 3 years ago #

    +1 looking for same solution...

    I would like all my subsites to show MAIN.com

    I have translated versions of subsites, so the url is pretty confusing - LNG.domain.com/SUBSITE/...
    the same is with subdomain mode - SUBSITE.domain.com/LNG/...

    and the same would be if I move lan before subdomain - LNG.SUBSITE.domain.com/...

    I would just like it to show domain.com/... all the time, at least domain.com/LNG/... or LNG/domain.com/... would be good enough...

    1. Is there any way to remove SUBSITE slug (like there are plugins to remove all kind of slugs /category, /tag, /author slug etc...)

    2. If not, should I try it with domain mapping?

    3. Should I just forget about it and accept it the way it is? :)

    Thank you


Topic Closed

This topic has been closed to new replies.

About this Topic