URL Redirects

Permalink
I'm trying to add various redirects and can't seem to get things to work... everything redirects to the index/home page. I've cleared cache and logged out and tried again, yet it still redirects to the home page and not the assigned page. Am I missing something?

barkingtuna
 
magnolia4 replied on at Permalink Reply
magnolia4
Which plugin do u use for the redirect?
barkingtuna replied on at Permalink Reply
barkingtuna
Plugin? I'm not using a plugin... I'm using the Page Settings/Location/"Other URLs that should redirect to this page" section. I'm adding the URL and clicking "Add URL Redirect", savings, clearing cache, and then nothing.
barkingtuna replied on at Permalink Reply
barkingtuna
Anyone have any thoughts on this? I'm about to go live with the client's site and rather than manually create the 301 Redirects, I'd like to know if this is a bug of some sort because no matter what I add to any page using the built in Page Redirect section... they all redirect to the index page and not the page they're assigned to.
barkingtuna replied on at Permalink Reply
barkingtuna
For instance...http://barkingtuna.com/mlorch/index.php?option=com_content&task... (http://azstorage.com/index.php?option=com_content&task=view&id=28&Itemid=38 is the link to the locations page from their old site) should redirect to the new Locations page on the production site at http://barkingtuna.com/mlorch/self-storage-locations.... Instead... it takes you to the home/index page.
barkingtuna replied on at Permalink Reply
barkingtuna
Ok... so this is what I was able to figure out.

1.http://barkingtuna.com/mlorch/option=com_content&task=view&... Redirects fine.
2.http://barkingtuna.com/mlorch/index.php?option=com_content&task... does NOT redirect to the intended page.

Obviously this has something to do with mod_rewrite, but since the clients website did NOT rewrite these junky URLs, how do I work around this and catch the inbound traffic to the various links that ALL include "index.php?"?
magnolia4 replied on at Permalink Reply
magnolia4
Did u activate pretty urls?
Please attach a screen of your url settings.
barkingtuna replied on at Permalink Reply 1 Attachment
barkingtuna
I've moved the site to anther domain now. Pretty URLs is on and has been on. Still, the following does NOT rewrite properly without the index.php and redirect to the proper page. http://www.allinstorage.com/mlorch/index.php?option=com_content&...

However, remove index.php? and it doeshttp://www.allinstorage.com/mlorch/option=com_content&task=view...

What do I need to add to the .htaccess file to correct this?

FYI... this is their old website and all I am trying to do is make sure all of this junky URLs are properly redirected to corresponding pages on the new site.http://azstorage.com/
magnolia4 replied on at Permalink Reply
magnolia4
Did u modify the RewriteBase?
Try only a /
barkingtuna replied on at Permalink Reply
barkingtuna
No... that's what C5 inserted. I'll give it a shot and report back.
magnolia4 replied on at Permalink Reply
magnolia4
Maybe that could be another solution:
http://www.rapidtables.com/web/tools/redirect-generator.htm...

U have to change the redirect type to Apache .htaccess
barkingtuna replied on at Permalink Reply
barkingtuna
Manual 301 Redirecting via the .htaccess file is what I was trying to avoid but since no one from C5 seems to be responding to this, I might have to go that route with all 75 pages from the old site!
barkingtuna replied on at Permalink Reply
barkingtuna
Reported it as a bug to see if they will chime in
barkingtuna replied on at Permalink Reply 1 Attachment
barkingtuna
Still an issue... I just launched the site tonight athttp://www.azstorage.com. It may still be propagating, so if you see an ugly Joomla site, it's not up yet. But here is the .htaccess file with the 301 Redirects. Something isn't right because it's breaking the site basically. But, as you will see, there's almost 200 JUNK URLs that I am attempting to redirect to better URLs on the new site.

Any thoughts? Is this correct? I know it's a lot to sift through, but I'm at a total loss on this.
magnolia4 replied on at Permalink Reply
magnolia4
I didn't find any problems.
Where you had trouble?

By the way google has only indexed 90 links of your page:
https://www.google.de/search?q=site%3Awww.azstorage.com&oq=site%...
barkingtuna replied on at Permalink Reply
barkingtuna
It's fine now... no trouble. However, I'm curious where you came up with the 90 indexed page number considering that there isn't a definitive resource to accurately see how many pages Google has indexed. Sure, you can search Google and count the pages or use a number of tools, but those are best guesses from my experience and Google makes it a point to hold back the true indexed quantity. At the end of the day I prefer to err on the side of caution and redirect everything.
tsilbermann replied on at Permalink Reply
tsilbermann
I had a similar problem with index.php?
https://www.concrete5.org/community/forums/customizing_c5/redirect-i...
It seams to be difficult or impossible to have that function in concrete5?
barkingtuna replied on at Permalink Reply
barkingtuna
This does the trick... Check out the htaccess file creation tool from a similar thread I started on this same topic.https://www.concrete5.org/community/forums/5-7-discussion/.htaccess-...
rimonb4 replied on at Permalink Reply
Yes You are missing something. Just use 301 redirect and I sure you solve your problem..http://www.converterunit.net/