Title: Some links broken
Last modified: August 18, 2016

---

# Some links broken

 *  [mrjester](https://wordpress.org/support/users/mrjester/)
 * (@mrjester)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/some-links-broken/)
 * Hi,
 * I moved my blog to subdirectory so that I can use static html welcome page in
   root. Everything went fine, except that some links are broken. There is “Previous
   posts” link on the blog bottom, and it returns “Not Found” error.
 * Site structure is this:
 * Url: [http://www.bioteka.lv](http://www.bioteka.lv)
    .htaccess – in root folder/
   bioteka/ – html welcome page (WP used to live here before) /bioteka/lv/ – WP 
   is here now.
 * This “Previous posts” link should be like this:
    [http://www.bioteka.lv/lv/index.php?paged=2](http://www.bioteka.lv/lv/index.php?paged=2)
 * but for some reason shows this:
 * [http://www.bioteka.lv/lv/bioteka/lv/index.php?paged=2](http://www.bioteka.lv/lv/bioteka/lv/index.php?paged=2)
 * and obviously does not work.
    Is there a way to fix this? Could not find in search…
 * Thank you very much!

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/some-links-broken/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/some-links-broken/page/2/?output_format=md)

 *  [tomhanna](https://wordpress.org/support/users/tomhanna/)
 * (@tomhanna)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271254)
 * Are you using custom permalinks? Check your permalink structure.
 *  Thread Starter [mrjester](https://wordpress.org/support/users/mrjester/)
 * (@mrjester)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271255)
 * Thanks for answering.
 * Hmmm.. Miscellanous Options are about file uploads…
    But in General options WordPress
   address and Blog address are the same: [http://www.bioteka.lv/lv](http://www.bioteka.lv/lv)–
   and is correct.
 * “Previous posts” is the only link that does not work – all other links work correctly.
 * Any ideas?…
 *  Thread Starter [mrjester](https://wordpress.org/support/users/mrjester/)
 * (@mrjester)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271257)
 * No, I am not using custom permalinks.
 * And how possibly I can modify that one link to get it working properly?…
 * Thank you.
 *  Thread Starter [mrjester](https://wordpress.org/support/users/mrjester/)
 * (@mrjester)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271343)
 * Any other ideas?…
 *  Thread Starter [mrjester](https://wordpress.org/support/users/mrjester/)
 * (@mrjester)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271467)
 * Bad luck… 🙁
 *  Thread Starter [mrjester](https://wordpress.org/support/users/mrjester/)
 * (@mrjester)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271815)
 * Problem stil there and quite urgent… Will appreciate any help.
    Thanks!
 *  [estjohn](https://wordpress.org/support/users/estjohn/)
 * (@estjohn)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271816)
 * Did you change the number of posts per page in the options? I had the same problem,
   I changed it from 4 posts per page to 6 posts per page, so it made the “end” 
   number of page different.
    It thought I still had more pages with posts, since
   it did before I changed the number of posts per page and then reduced the number
   of pages in that category by increasing the number of posts per page.
 * But, that is why I was getting the error.. yours might be completely different.
 *  Thread Starter [mrjester](https://wordpress.org/support/users/mrjester/)
 * (@mrjester)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271828)
 * Thanks for sharing info.
 * No, I did not change te number of posts per page. The problem appeared after 
   I moved the blog to subdirectory.
 * This is the only link that does not work and was affected by changing the directories.
   Would I need to reinstall the blog again or is there some way to modify the link
   path?…
 *  [estjohn](https://wordpress.org/support/users/estjohn/)
 * (@estjohn)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271829)
 * You might could check the configure.php and make sure that it is right as far
   as paths go…
    or you may have to check in the database itself to make sur the
   paths are right there.
 *  Thread Starter [mrjester](https://wordpress.org/support/users/mrjester/)
 * (@mrjester)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271831)
 * Hmmm.. where do I find configure.php?… Went through all the directories, could
   not find. There is only wp-config.php
 * Also checked the database, but could not find the entry which would be responsible
   for this…
 *  [estjohn](https://wordpress.org/support/users/estjohn/)
 * (@estjohn)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271832)
 * it might be wp-config
    i stand corrected.. sorry 🙁
 *  Thread Starter [mrjester](https://wordpress.org/support/users/mrjester/)
 * (@mrjester)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271833)
 * It does not seem that in wp-config.php there are any entries that could change
   the situation… am I wrong?
 * Anyway – thanks for your time, estjohn! Any help is very much appreciated.
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271834)
 * Can’t check your site until you deactivate Shortstat – your sites are timing 
   out.
 *  Thread Starter [mrjester](https://wordpress.org/support/users/mrjester/)
 * (@mrjester)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271835)
 * I can deactivate it – but won’t I lose accumulated statistics about search strings
   etc.?…
 * Edit: done! Shortstat deactivated.
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/some-links-broken/#post-271837)
 * Both this site and your site time out because shortstat uses some other site 
   that has been down for awhile. It should not be used until the other site is 
   back up or Shortstat is fixed.
 * As for your problem, do you have this entered in both WP address and blog address
   in options:
    `h`ttp://www.bioteka.lv/lv

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/some-links-broken/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/some-links-broken/page/2/?output_format=md)

The topic ‘Some links broken’ is closed to new replies.

## Tags

 * [move](https://wordpress.org/support/topic-tag/move/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 22 replies
 * 4 participants
 * Last reply from: [mrjester](https://wordpress.org/support/users/mrjester/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/some-links-broken/page/2/#post-271867)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
