Forums

Does asp.net root directory mean WP folder can't rewrite urls? (4 posts)

  1. David Rostan
    Member
    Posted 2 years ago #

    Hi,
    My website url http://www.website.com is in asp.net
    I set up wordpress at http://www.website.com/blog and my .htaccess file was correct (according to rackspace cloud hosting), but i was unable to make Pretty URLs work. The database stored 2 versions of the post and only the one with the ugly url works.
    I was told this was because http://www.website.com was in asp.net and the only thing to do would be to create a subdomain blog.website.com that was "purely php".
    Questions:
    1. can i fix this in the http://www.website.com/blog directory by changing my .htaccess file or thru some other method?
    2. if not, will the subdomain solution work?
    3. if subdomain solution, does that affect SEO or split publicly available traffic data?

    Thanks!
    David

  2. whooami
    Member
    Posted 2 years ago #

    asp.net with an .htaccess?

    youre hosted on a server running IIS?

    if your host had anything to do with that -- you need a new host.

    \
    IIS doesnt use an .htaccess

    You need ISAPI_Rewrite or you need to review this:

    http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite

    short of those solutions, you set up a sub-domain on another box and point the dns for subdomain to the other location.

  3. David Rostan
    Member
    Posted 2 years ago #

    My host can run both asp.net and php on the same domain. i'm on rackspace cloud.
    I can have website.com be asp.net, but website.com/blog be php.
    I was told that since website.com was asp.net that website.com/blog would never be able to do url rewrites.

    **I don't know if that is true. I would prefer to find a way to make the .htaccess file (in the website.com/blog directory) work to allow url rewrite. Can that work?

    If it cannot, i can set up a subdomain, but i don't know if that will work.

    I really want to know the answer to the ** question.

  4. whooami
    Member
    Posted 2 years ago #

    what dont you understand about my first answer?

    Ive answered all the questions you just re-asked. And nothing you said contradicts my replies.

    Youre here asking questions that need to be asked of your host anyway. Your questions are about your hosting -- NOT wordpress.

Topic Closed

This topic has been closed to new replies.

About this Topic