Wordpress Question

Soldato
Joined
8 Oct 2005
Posts
4,184
Location
Midlands, UK
Hi,

I have the latest wordpress installed on my host. However, i have a weird problem that is preventing anyone viewing pages (click the link to my in the sig, you can see the main page, but if you click to read the full story a 404 appears).

The pages are definately still there as i can edit them via the word press admin panel. Literally the only thing i have changed recently was having a fiddle with protecting a folder using cpanel and htaccess - in an unrelated directory.

Can anyone suggest what i can try?

Thanks
 
Change your perma-link structure to something else, and then back to what it is now.

Also check the htaccess in the Wordpress folder if that doesn't work.
 
Well, that worked. I choose the default structure it works as normal. But as soon as i go back to the structure i was using before (date and time based - /%year%/%monthnum%/%day%/%postname%/) the error occurs again. Haven't got a clue what it menas, but this my htaccess file:

Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://rallport.tsohost.co.uk/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://rallport.tsohost.co.uk$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.rallport.tsohost.co.uk/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.rallport.tsohost.co.uk$      [NC]
RewriteCond %{HTTP_REFERER} !^http://forums.overclockers.co.uk/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://forums.overclockers.co.uk$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
 
Last edited:
suarve, if you don't mind me asking/derailing.

Renaming your 'home' tab (in the menu on the banner) which is usually 'blog' - how did you go about that? Is it a simple coding change or a setting or something? (I'm guessing it's not a page)
 
suarve, if you don't mind me asking/derailing.

Renaming your 'home' tab (in the menu on the banner) which is usually 'blog' - how did you go about that? Is it a simple coding change or a setting or something? (I'm guessing it's not a page)


I believe you can do this via altering some code in the core wordpress files, which i diont like the sound of tbh :)

I'm using the K2 theme which has an option called 'Blog?'. If you install the theme and go to Presentation - k2 options you'll find it there (along with a few other useful ones too. :)
 
Ah you are a saint, sir.

Had K2 on my WP installation and was about to tackle the problem in the nasty way. I had been in the same situation a few months ago and the only way around it was to begin messing about with code and even then the methods weren't guaranteed to work from the many forum topics I read.

Thanks. :)
 
I'm going to do a quick hijack, as I have a wordpress question of my own...

On my main page I have "pages" listed down the right-hand column. If you click on one it takes you to the page (such as "about me" etc).

But I want one of them to link to an external page. So if you click on "forum" instead of taking you to an internal WP page, it instead takes you directly to the main forum page.

I am using the latest version of WP and the "Ocean Mist" theme.
 
I'm going to do a quick hijack, as I have a wordpress question of my own...

On my main page I have "pages" listed down the right-hand column. If you click on one it takes you to the page (such as "about me" etc).

But I want one of them to link to an external page. So if you click on "forum" instead of taking you to an internal WP page, it instead takes you directly to the main forum page.

I am using the latest version of WP and the "Ocean Mist" theme.

Again using K2, click on Presentation > Widgets. Drag an used widget onto your sidebar (called Text 4 for example) and lcik the box on the right hand side of the widget. Here you can enter simple html. So you could make a links list as follows:

Code:
<ul>
<li><a href="http://www.suarveisl337.co.uk/">suarve is 1337</a></li>
<li><a href="http://www.suarveisl337.co.uk/">suarve is 1337</a></li>
<li><a href="http://www.suarveisl337.co.uk/">suarve is 1337</a></li>
</ul>

In the top box enter a desired title.
 
Sorry to hijack the thread

Suarve what method did you use to highlight your comments as an author? I've tried numerous methods and cant get it to work. Or is it just part of that theme?
 
Sorry to hijack the thread

Suarve what method did you use to highlight your comments as an author? I've tried numerous methods and cant get it to work. Or is it just part of that theme?

Just alter the CSS in the themes css file your using. Think the class is called commentbyauthor or similar - have a look at your source on the page.
 
Back
Top Bottom