Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

permalink problem

Posted on 2011-09-19
13
Medium Priority
?
281 Views
Last Modified: 2012-05-12
My blog is hosted on www.site.com/blog.
By mistake we linked from an important site to www.site.com/Blog.
For the strangest reason if you click on with a capital, you get a 404 worpress missing page.

What can I do to get around it?
0
Comment
Question by:rivkamak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
  • +2
13 Comments
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 36561208
I've dealt with this problem for another person that was experiencing the same error. The person was on a Linux hosted server, so if you are also try this:

Open a blank text document and paste this in it:
http://' .  getenv('HTTP_HOST') . strtolower($uri[0]) . $uri[1], true, 301); ?>

Open in new window


Save the files as lowercase.php and upload the the WordPress Root Directory (where the wp-config file is.

Next you need to open your .htaccess file and add this to the top:
Options +FollowSymLinks 
RewriteEngine On 
RewriteRule [A-Z] /lowercase.php [L]

Open in new window

0
 

Author Comment

by:rivkamak
ID: 36561213
What do I need to change if I have an IIS server?
0
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 36561232
IIS isn't my specialty, but I'll point you in the direction of an article that explains how. If you get stuck, let me know and I'll try to help:

http://learn.iis.net/page.aspx/465/url-rewrite-module-configuration-reference/
0
Docker-Compose to Simplify Multi-Container Builds

Our veteran DevOps Author takes you through how to build a multi-container environment, managed with a single utility in order to simplify your deployments.

 

Author Comment

by:rivkamak
ID: 36561334
I made the changes in the url rewrite,., but it's not co-operating.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36561389
IIS should be case-insensitive by default...why is yours doing this at all?
0
 

Author Comment

by:rivkamak
ID: 36562040
That's what I don't know.
you can check
http://www.oorah.org/blog
or http://www.oorah.org/Blog
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36562060
Ah-ha...that's not a true 404, that's WordPress attempting to find something and failing.

What you could do is create a page with /Blog/ as the slug and use:

http://wordpress.org/extend/plugins/simple-301-redirects/

to redirect it to /blog/
0
 

Author Comment

by:rivkamak
ID: 36562386
I can't create anythin with a capital.
I tried creating a page with /Blog/ and it saved it as /blog/
0
 
LVL 3

Expert Comment

by:ovi_mihai
ID: 36565283
Try a .htaccess redirection

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^www.site.com/Blog [nc]
rewriterule ^(.*)$ http://www.site.com/blog/$1 [r=301,nc]

Open in new window

0
 

Author Comment

by:rivkamak
ID: 36568151
In Url Rewrite?
0
 
LVL 31

Accepted Solution

by:
gwkg earned 2000 total points
ID: 36582670
I use the redirection plugin to catch 404 errors and redirect to the proper pages.

http://wordpress.org/extend/plugins/redirection/
0
 
LVL 3

Expert Comment

by:ovi_mihai
ID: 36584035
create a text file named .htaccess and put in the root of the blog. the content is above and you get the 301 redirection
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36584077
ovi_mihai

He's running IIS.  Different rules apply.
0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question