WordPress.org

Support

Support » How-To and Troubleshooting » HELP with Links and .htaccess

HELP with Links and .htaccess

  • Hi all,
    OK my head is officially wrecked!! 🙂
    I have had to move a previously working site that’s based on WP and update it.

    However, I have some issues with links.

    I was planning on using .htaccess to redirect to a splashscreen on entry. However, if i specify a page in .htaccess any php link (i.e. ?p=123, or ?page=123) goes to the page specified in the .htaccess file.

    I found what i thought was a workaround by adding “index/php” to the link so
    “index.php?p=123” etc. this worked for static links but obviously not for generated links as “?p=123” would go to whatever page was specified in .htaccess

    I’m also having issues is links are clicked in a WP page, a link to something like “?p=37” in a page http://www.mydomain.com/article.php will simply place http://www.mydomain.com/article.php?p=37 in the address bar but do nothing.

    I hope i’m being clear.
    I really need help on this as soon as possible.

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • [Update]
    OK, i removed the .htaccess file and reset permalinks. If i tried a permalink with anyting but default number format The page would load but it would load totally unstyled and throw up a couple of errors.

    I reset all manual links linking to “?p=123” to “www.mydomain.com/?p=107” this works now and any generated links within those pages seem to work also.

    My problem now is back to redirecting to the splash page on site load. 🙁

    [update]
    OK, finally got around it. Must be something configured incorrectly still though, so any advice appreciated.

    Here’s what I did.

      deleted .htaccess file.
      changed Navigation to WP pages to full http://www.mydoamin.com/?page_ID=xx.
      Created new ‘splash template’ without header and footer as i didn’t want nav available.
      Created new Page in WP inserting code for swf file.
      Set this page to Static front page in WP settings.

    All works now finally. Although no permalinks.

    I created a splash screen plugin which might do the trick for you.

    http://wordpress.org/extend/plugins/splashscreen/

    You can change the template so that it does not have the header and footer but you have to replace it with HTML. Hope that helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HELP with Links and .htaccess’ is closed to new replies.
Skip to toolbar