lucy24

msg:4378408 | 8:37 pm on Oct 23, 2011 (gmt 0) |
Most of what you posted is irrelevant to your question. This is good, because it gives you an opportunity to repost the significant parts with manually added line breaks instead of going in search of a moderator to fix it. I detoured to check other browsers. Opera wraps overlong lines-- in fact it's been known to do so even when I don't want it to-- but the other families available to me don't.
|
g1smd

msg:4378422 | 9:03 pm on Oct 23, 2011 (gmt 0) |
Add a blank line after each closing ifModule tag and after each RewriteRule. Fix the long line thread stretch in this forum. Slashes do not need to be escaped. Using a leading .* in RegEx patterns is an error. Likewise using .* in the middle of a RegEx pattern is also a problem.
(google\.com|yahoo\.com|bing\.com|ask\.com|msn\.com) simplifies to:
(google|yahoo|bing|ask|msn)\.com
(wp-comments-popup\.php|wp-links-opml\.php|wp-locations\.php) simplifies to:
(wp-(comments|links|locations)-popup\.php) and there are several other similar simplifications possible. The code is quite unreadable in its present form.
|
lucy24

msg:4378449 | 11:09 pm on Oct 23, 2011 (gmt 0) |
Oops (wp-comments-popup\.php|wp-links-opml\.php|wp-locations\.php) simplifies to: (wp-(comments|links|locations)-popup\.php) |
| Let's make that
(wp-(comments-popup|links-opml|locations)\.php) ;) :: wandering off in search of moderator ::
|
g1smd

msg:4378455 | 11:20 pm on Oct 23, 2011 (gmt 0) |
Yeah that's what happens when you have to scroll to the right a very long way to write the answer - and the question is waaaay off the left edge of the screen.
|
noumaan204

msg:4378477 | 1:01 am on Oct 24, 2011 (gmt 0) |
I am really sorry about the line thing I didn't know it would show up like this. I tried to edit but it seems like I can't
|
lucy24

msg:4378484 | 1:40 am on Oct 24, 2011 (gmt 0) |
There's a time limit on editing, but a moderator with scissors will drift by eventually. I found by experiment that Opera will break overlong lines. In fact I had to race over to another site and make sure it hadn't resumed the habit of wrapping things that aren't supposed to wrap.
|
noumaan204

msg:4378601 | 10:35 am on Oct 24, 2011 (gmt 0) |
@lucy24 I find Opera very difficult to use because sometimes it does not behave like other browsers. Even though in some cases it might be good but unexpected features are an annoyance. So now that lines are readable :) I need help with only the code after #End Wordpress are these rules correct?
|
g1smd

msg:4378799 | 6:38 pm on Oct 24, 2011 (gmt 0) |
|nintendo\ ds|nintendo| simplifies to |nintendo(\ ds)?| There are many places where you can optimise like this. Finally, do NOT add redirects after the rewrites otherwise you will rexpose rewritten paths back out on to the web as new URLs. The redirects must be placed before the very first rewrite.
|
|