66 Topics

Member Avatar for
Member Avatar for moneeshot

I am helping a friend switch from Godaddy quick shopping cart to magento. Unfortunately the Godaddy cart automatically creates product and catalog URLS. Using caps, dashes and underscores. I can dupe the link text but magento only allows dashes and no caps, I'd rather not use caps or underscores anyway. …

0
259
Member Avatar for EvolutionFallen

Hi folks, I have a situation that's most easily explained via example, I think. So here goes. Let's say I have the following URLs: 1. /page.asp?id=123 2. /page.asp?id=123&category=ABC 3. /page.asp?id=123&category=ABC&var3=X&var4=Y I need these pages redirected. Currently links 1, and 2 redirect correctly. Option 3 though can have an arbitrary number …

Member Avatar for mattster
0
414
Member Avatar for Szabi Zsoldos

Hi guys, I have this weird .htaccess rule that is used for a dropdown search engine RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+) index.php?bla1=$1&bla2=$2... and so on [L] If I want to maintain the above rule, it is allright. The problem is that I want to creat a new rule with 3 variables, but the …

Member Avatar for Szabi Zsoldos
0
335
Member Avatar for Dieter_1

I have just installed xampp on a windows 7 os and downloaded my working web application into C:/xampp/htdocs/myweb calling the website with localhost/myweb brings up the home page try calling a specific page like localhost/myweb/about.html is redirected to localhost/xampp/ calling a specific page with localhost/myweb/index.php?include=about shows the correct page I …

Member Avatar for Dieter_1
0
9K
Member Avatar for anil14353

I want to do a redirection where a user enters their user name in the URL and redirects to their profile, like this: example.com/joe redirects example.com/profile.php?username=joe I want to do it like Facebook does

Member Avatar for Bachu
0
4K
Member Avatar for cilla

Upon uploading my site files to a GoDaddy hosted website -- with a "coming soon" sort of maintenance page I'm assuming is generated by GD (headline "Future home of something quite cool") -- that's on a shared FTP account for which the root is a different domain and there are …

Member Avatar for cilla
0
888
Member Avatar for rajendher

can anybody please tell me how rewrite .php files to .html files in a folder. or how to rewrite urls like http://examle.com/files/ (actual path http://example.com/files.php) using web.config file.

Member Avatar for pritaeas
0
249
Member Avatar for rajendher

dear programmers, how to show urls `(http://example.com/mtfiles/2014/2014.html)` from to `(http://example.com/2014.html)`. server at plesk panel anybody please tell me . thank you

Member Avatar for rajendher
0
307
Member Avatar for Borzoi

Hi, I'm not sure if I'm posting this in the correct place as this is related to nginx configuration and not specifically PHP scripts. If I am posting this in the wrong section, please let me know and I will post it in the correct location (unless a Mod is …

Member Avatar for Borzoi
0
845
Member Avatar for ditty

Hi htaccess is not working in godaddy hosting. but it is working in other servers. Please help me to solve this. Thank you

Member Avatar for mybids
0
166
Member Avatar for joshl_1995

Hello Community, I was wondering if it is possible to use an ID ($_GET) after a file in the address bar so it would look like this http://example.com/file.php/ID_HERE Instead of http://example.com/file.php?id=ID_HERE I know there is a way of doing something like that but I'm only getting it to work on …

Member Avatar for joshl_1995
0
469
Member Avatar for Siberian

I've run into a problem with my HTACCESS file. If I comment out this line; RewriteRule . <URL> [L] I get an error a 403 error. If I don't comment it out, I'll get this error from firefox; *The page isn't redirecting properly*

Member Avatar for Siberian
0
195
Member Avatar for toldav

Any one can give a hand figure it out were is my errror in my clean url. This code is on my vhost and it's not working as I expected. I have try to rewrite the code and put in .htaccess file and still is not working. RewriteEngine On RewriteCond …

Member Avatar for minitauros
0
287
Member Avatar for devianleong
Member Avatar for pritaeas
0
142
Member Avatar for 1baga

i have a problem with this website after i added this piece of code to the .htaccess file #Rewrite .php to .html RewriteEngine on RewriteBase / RewriteCond %{THE_REQUEST} (.*)\.php RewriteRule ^(.*)\.php $1.html [R=301,L] the code was suppose to rewrite all the name of my pages that ends with .php to …

Member Avatar for diafol
0
230
Member Avatar for everton.retweets

Hi Everyone. I have the follwing htaccess file working just great. Basically it rewrites .php to .html and also rewrites none www. urls to www. My question is how can is remove a directory from the .php to .html rewrite rule? My pages are correctly being rewritten to .html files, …

Member Avatar for everton.retweets
0
255
Member Avatar for devianleong

Anyone can tell me how can I rewrite my url from www.example.com/user.php?id=1 and id=1 will get the name from mysql. Like example id=1 user name is "abcdef". Now the parameter(id=1) will get result from database and display "abcdef" to url(www.example.com/abcdef).

Member Avatar for devianleong
0
667
Member Avatar for thilipdilip

HI I'm having two wesites with same file sets I want to keep the one file set for both domains how to do this if the user visit www.abc.com the files will get from www.xyz.com kindly tell me how to do this one thing i don't want to keep file …

Member Avatar for JorgeM
0
192
Member Avatar for xxmp

I am making a website but the files are into folder a->b->c/bla.jsp is there any library that is free or a way that i can change the showing url to be more user friendly? Thank you

Member Avatar for xxmp
0
184
Member Avatar for bsewell

Hi, I would have a subdomain on domain A. Basicly I want to forward this to a particular page on domain B. But it's slightly complicated- I want to mask this so it looks like domain A hosts the actual page than domain B. Eg. Domain A http://something.domainA.com Domain B …

Member Avatar for bsewell
0
782
Member Avatar for arctushar

Hi I want to use htaccess rewrite, which will act as below 1. http://mysite.com/?sura=x as http://mysite.com/x 2. http://mysite.com/?sura=x as http://mysite.com/x/ 3. http://mysite.com/?sura=x&ayat=y as http://mysite.com/x/y 4. http://mysite.com/?sura=x&ayat=y as http://mysite.com/x/y/ is it possible by htaccess ?? please help me

Member Avatar for dorco
0
200
Member Avatar for DaveyMoyes

Hi everyone... I am just geting to grips with htaccess RewriteRules I have the following rule that redirects users to website.com/folder RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([a-z0-9]+)\/?$ /webstores/$1/ [L] But the url is missing the trailing forward slash / when I try and open php files …

Member Avatar for pixelsoul
0
188
Member Avatar for disha2612_1

I have a my URL as : www.domain.com/controller/login.php And i want to make it look it like: www.domain.com/jobtracker Please help, i have researched lots of links as i am new to this topic, but did not found appropriate solution yet.. It gives me 500 internal server error My .htacess file …

Member Avatar for migcosta
0
328
Member Avatar for lukas.vandendijssel

This .htaccess throws me a 500 error. I've Googled/tried everything. RewriteEngine on RewriteRule ^([0-9]{6})$ decode.php?shorturl=$1 [L] It's for a URL shortener. I am new to this stuff.

Member Avatar for diafol
0
437
Member Avatar for dan_code_guru

How do i mod rewrite so that i have a page with a get variable is passed to parameter. I want page.php?id=67/images to go to images.php?pageId=67 Thanks

Member Avatar for LastMitch
0
208
Member Avatar for vizz

I have links like, #**#/Home**, **#/About** how to remove **#/** using .htaccess I have other RewriteRules and they all work fine URL's are displayed like **localhost/site/#/Home**

Member Avatar for vizz
0
177
Member Avatar for chr.s

Hello, I'm trying to find a way of including a htaccess rewrite to redirect anyone visiting *http://site.com* to *http://www.site.com*. I've tried the following... RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?site.co.uk [NC] RewriteRule ^(.*)$ http://www.site.co.uk/$1 [R=301,L] ...but it broke the paths to all of my assets - adding a "www" where there shouldn't …

Member Avatar for chr.s
0
211
Member Avatar for scenium

Hi, I have some issues on my website with my deeplinks Let me show you sample regarding this issues www.mywebsite.com/buy-online-tv.php www.mywebsite.com/buy-LCD-tv.php www.mywebsite.com/buy-cheap-tv.php www.mywebsite.com/affordable-tv.php etc.... Until here everything is fine but I got lots of visitor coming for Google and the vistor find my website and come from such URL www.mywebsite.com/buy-online-tv.php/buy-LCD-tv.php …

Member Avatar for gon1387
0
239
Member Avatar for tnjiric

Hello everyone, I'm having trouble with Joomla non-existing category re-direct problem. I cannot seem to find the proper rewrite url line for .htaccess file for the following problem. I have my website http://www.dubrovnik.com I'd like to send user to my 404 Page whenever user request for non-existing link. I've managed …

Member Avatar for spammyyammy
0
187
Member Avatar for pjh1985

Hi, I'm having a problem with what seems to be conflicting URL rewrite rules. Basically the first and second rule work individually but when i add both together the second rewrite rule no longer works. RewriteEngine On RewriteBase / RewriteCond $1 !\.(gif|jpe?g|png)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule …

Member Avatar for pritaeas
0
201

The End.