Nader
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: (Complex?) .htaccess problemi’ve set it up on my beta account so you guys can check it out.
https://beta.brandinfection.com/brands/
click on any brand logo.
error – 404 not foundit should be displaying the content at
Forum: Fixing WordPress
In reply to: (Complex?) .htaccess problemFirst, thanks again for your willingness to help. Great!
– in 1.5 (still live at https://www.brandinfection.com/brands/15/W/Wrigley) these exact rewrite rules worked. I don’t know why they do not now
– I want to have an URL like https://localhost/brands/139/W/Wonka which would translate in https://localhost/brands/?b=139&l=W (where b is the brandID, l the letter “W”)
My rules in the .htaccess file so far:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /RewriteRule ^brands/([0-9]+)/([A-Z])/?.* brands/?b=$1&l=$2 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]</IfModule>
# END WordPresshope this helps you or others to understand my problem.
Forum: Fixing WordPress
In reply to: (Complex?) .htaccess problemI tried everything, outside, inside.
The only thing that’s sure isRewriteRule ^brands/([0-9]+) /brands/?b=$1
works when i go to https://localhost/brands/13It seems wordpress index.php is chopping off the other parameter?
Forum: Fixing WordPress
In reply to: (Complex?) .htaccess problemthanks otto but still doesn’t work.
excerpt:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /RewriteRule ^brands/([0-9]+)/([A-Z]) /brands/?b=$1&l=$2 [L]
RewriteRule ^brands/([A-Z])$ /brands/?l=$1 [L]
RewriteRule ^brands/([a-z-A-Z]+) /brands/?in=$1 [L]
RewriteRule ^ads/([0-9]+)/([0-9]+) /ads/?ad=$1&b=$2 [L]
RewriteRule ^ads/([A-Z])$ /ads/?l=$1 [L]
RewriteRule ^ads/([0-9]+) /ads/?b=$1 [L]
RewriteRule ^ads/([a-z-A-Z]+) /ads/?in=$1 [L]
RewriteRule ^slogans/([A-Z])$ /slogans/?l=$1 [L]
RewriteRule ^slogans/([a-z-A-Z]+) /slogans/?in=$1 [L]RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]
</IfModule>
# END WordPress
Forum: Fixing WordPress
In reply to: (Complex?) .htaccess problemthanks for your answers, chradil and otto!
those rules are for accessing self-made template pages that take 2 variables:
– b for brand ID
– l for brand letterwhat it should do is follow these links to the right destination:
1- https://localhost/brands/139/W/Wonka -> Brand: Wonka
2- https://localhost/brands/W -> All brands with letter W
3- https://localhost/brands/Web -> All brands in the web industryin 1.5 i had these exact rules
RewriteRule ^brands/([0-9]+)/([A-Z]) /brands/?b=$1&l=$2
RewriteRule ^brands/([A-Z])$ /brands/?l=$1
RewriteRule ^brands/([a-z-A-Z]+) /brands/?in=$1
RewriteRule ^ads/([0-9]+)/([0-9]+) /ads/?ad=$1&b=$2
RewriteRule ^ads/([A-Z])$ /ads/?l=$1
RewriteRule ^ads/([0-9]+) /ads/?b=$1
RewriteRule ^ads/([a-z-A-Z]+) /ads/?in=$1
RewriteRule ^slogans/([A-Z])$ /slogans/?l=$1
RewriteRule ^slogans/([a-z-A-Z]+) /slogans/?in=$1which worked.
now it doesn’t because it’s somehow 2.0.2 and the redirecting works differently.
looking forward to your answers guys
Forum: Your WordPress
In reply to: Heavily extended WP with Custom-made plugins and themecool, please send me the link when it’s online. I’m very interested in music and also doing a project with my friend on that: https://www.bandnews.org – you can use the contact form on that page to send me an e-mail
yeah, i’m also having trobules adding another filter with the extended search plugin.
Forum: Your WordPress
In reply to: Brandinfection – For the Infected and their Infectorsthere’s a new entry about “Looza”. funny read.
Forum: Your WordPress
In reply to: Brandinfection – For the Infected and their Infectorsindeed.
your roobottom blog looks also very good!Forum: Your WordPress
In reply to: Movable Type to WordPress … success!very nice ! wow! simply amazing what is possible !
btw, as music addict I’m sure you’d be interested in https://www.bandnews.org
it just works like bloglines, blogsnow, technorati, … but concentrates on music / bands. you can customize your own rss feed from your favorite bands, even if they don’t provide that.
greets, naderForum: Everything else WordPress
In reply to: sites like blo.gs?it’s not exactly what you’re looking for, I know, but if you’re a music addict like myself you should check out https://www.bandnews.org .
there you can read instantly what bands write at the moment and create your own rss feeds from your favorite bands (even if the bands don’t provide rss). very nice!