Suoritettu

Htaccess-Rewrite-Rule/Condition

Hi,

I need a htaccess for the following rewrite-rules:

/topic/[login to view URL] to /[login to view URL]

AND

/topic/[login to view URL] to /[login to view URL]

OR ALSO

/topic/[login to view URL] to /[login to view URL]

AND

/topic/[login to view URL] to /[login to view URL]

So the first word after /topic/ has to become ?s=

And IF there is a "-pageX" it has to become &p=

I tried those rules

RewriteRule ^topic/([a-zA-Z0-9\-]+).html$ /[login to view URL]$1&p=1 [L]

RewriteRule ^topic/([a-zA-Z0-9\-]+)-page([0-9]+).html$ /[login to view URL]$1&p=$2 [L]

But it always redirects wrong. It redirects:

/topic/[login to view URL] to /[login to view URL]

I need that really fast. Best would be today.

Thanks!

Taidot: Apache, PHP

Näytä lisää: htaccess rewrite generator, htaccess syntax, htaccess rewritecond, htaccess code, htaccess redirect, rewrite rule tester, url rewriting in php using .htaccess example, htaccess redirect specific url, sending microsoft works page microsoft word document, create htaccess redirect rule, htaccess rewrite rule, web page content word document, link page particular word, lighttpd rewrite rule, form page output word, htaccess rewrite rule jpg php, rewrite rule protect images, mod rewrite rule creator, rate per page per word, rewrite rule lighty

Tietoa työnantajasta:
( 22 arvostelua ) Eppelheim, Germany

Projektin tunnus: #18252840

Myönnetty käyttäjälle:

gcremona

Hi, This is very easy to solve. If you select me, I can provide you the correct rules. Awaiting your reply. Thanks!

€14 EUR 1 päivässä
(19 Arvostelua)
4.9

17 freelanceria on tarjonnut keskimäärin €20 tähän työhön

sureshdevi

I will fix the rewrite rule issue in htaccess not redirecting and pass the parameter. I will complete this work in next few hours. Looking for your reply to start this work immediately. I will be available online fr Lisää

€14 EUR 1 päivässä
(1177 arvostelua)
8.1
TakeReal

Hello, My name is Sergey. I am Freelancer from Saint Petersburg, Russia. I can help you as programmer to update ".htaccess" to perform correct redirect for /topic/[login to view URL] and other pages. 1000+ success Lisää

€30 EUR 1 päivässä
(1863 arvostelua)
8.2
rsdsoftsl

Hello. I can fix htaccess rules in an several minutes right now. May need ftp access to test it. Regards, Vladimir

€15 EUR 0 päivässä
(345 arvostelua)
7.6
tzo

Hello, can help you on this task, have some experience with regex and writing htaccess rules. Can deliver today.

€15 EUR 0 päivässä
(238 arvostelua)
6.9
versacode

We are a group of engineers and web developers. We can write you the .htaccess rewrite rules so that it matches the following: /topic/[x]-page[y].html => /[login to view URL][x]&p=[y] OR /topic/[x].html => /[login to view URL] Lisää

€29 EUR 1 päivässä
(124 arvostelua)
6.6
larrypaul93

Hey, I can fix this issue and can redirect those rules in a right direction. I have already done many such tasks.

€15 EUR 1 päivässä
(102 arvostelua)
6.7
jbosseu

I have worked as server admin for big names like [login to view URL] and servercentre.net. Over 8yrs of working with cpanel, directadmin and plesk servers. Can help you with this. Let me know.

€29 EUR 1 päivässä
(256 arvostelua)
6.5
justTry

Hello! Remove the dash "-" fro the character class in teh first RewriteRule and you're done. Regards, Dobri

€8 EUR 0 päivässä
(162 arvostelua)
6.0
kkc1985612

How are you! I’m glad to bid on your project. I have read your description carefully and I’m filled with the confidence to build your project wonderful. I am a full developer with Mobile, Web, and Application Expert wi Lisää

€30 EUR 1 päivässä
(38 arvostelua)
5.8
munjalmayank

Dear Customer, Greetings from Microprixs Solution! We have gone through the requirement and we can complete the same with given timeframe. We are one of the best team in Opencart, Laravel, Cakephp, Wordpress / eCo Lisää

€14 EUR 0 päivässä
(111 arvostelua)
5.4
TigerWI

Hello! I can make this work for you. I have experience with Apache and .htaccess files and rewrite conditions, and would be happy to help. Please consider me for your project, and I thank you! :)

€22 EUR 0 päivässä
(14 arvostelua)
3.8
firstmantra

Hello How are you? I have checked your job description and i am able to handle this project. I am new at freelancer but i am expert and ability to handle any kind of website development task. GIVE ME ONE C Lisää

€14 EUR 1 päivässä
(2 arvostelua)
2.1
andeelusman

Greetings, my name is andeel. I am Head of Client Relations and a web-developer myself. I would love to have an opportunity to discuss your project with you. With over 5 years of experience in mobile/web design and Lisää

€23 EUR 1 päivässä
(4 arvostelua)
1.5
ODHS

• Wrote targeted content for consumer portion of website. Encompassed a range of financial service offerings. • Created a brand new series of articles highlighting how Citgo’s consumers employ financial products throu Lisää

€23 EUR 1 päivässä
(0 arvostelua)
0.0
MKkitkay

My name is Marvin , sir I directly could make this work done for you in a couple of minutes to an hour only. Hoping to start it now. Thank you.

€23 EUR 1 päivässä
(0 arvostelua)
0.0
divyeshpaun005

Hello Sir, I have 3.5 years experience in php. I know php, html, javascript, jquery, css, codeigniter, bigcommerce, ajax, sql. so if possible give me project i would like work with you.

€23 EUR 1 päivässä
(0 arvostelua)
0.0