Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter bepresents

    (@bepresents)

    Or maybe it’s that I am using BuddyPress?

    Thread Starter bepresents

    (@bepresents)

    oH I know how to do that, but there seems to be a problem with using the word “blogs” to name a page’s permalinks

    Is that word reserved by WP for some thing?

    Can it be done?

    Thread Starter bepresents

    (@bepresents)

    I did get this to work, with .htaccess code like this:

    RewriteEngine On
    RewriteRule ^(.*/)?page2.php index.php?page_id=1259 [L]
    Thread Starter bepresents

    (@bepresents)

    That won’t work because 301 Redirects don’t preserve the URLS and our SEO specialist says he doesn’t like Redirect only RewriteRule or using a real file.

    If I do:

    Redirect 301 /page2.php /index.php?page_id=123

    Then the browser is redirected to /index.php?page_id=123, the URL’s are different and the search engines get 2 URLs for 1 page.

    And it’s hard to use .htaccess Redirect with WordPress since WordPress is so heavily reliant on .htaccess code for making permalinks, it bypasses most of the permalinking. Which makes using RewriteRule hard to use too.

    Thread Starter bepresents

    (@bepresents)

    No not the default landing page, but a brand new PHP page.

    ie:

    /index.php : loads WP in root folder

    /page2.php : This is a copy of the code in “/index.php” but is named differently. When I try and run this, instead of loading:

    mysite.com/page2.php

    it loads that for a second and then redirects to

    mysite.com

    I want to know if there is a way to have a bunch of “copies” of WordPress’s index.php, renamed differently, each loading a different page from WordPress statically.

    I also thought about doing it with .htaccess something like :

    RewriteEngine On
    RewriteRule ^(.*/)?page2.php http://www.mysite.com/index.php?page_id=123 [L]

    But I have yet to get over the .htaccess learning curve and get this to work!

    Thanks in advance for any answers!!

    Thread Starter bepresents

    (@bepresents)

    I also thought of making a new PHP file and placing it into /store/ but that keeps redirecting me back to /blogs too!

Viewing 6 replies - 1 through 6 (of 6 total)