66 Topics

Member Avatar for
Member Avatar for satheeshr07

Hi All, I am trying to rewrite the URL http://www.example.com.br/folder/sub_folder/my_profile.php to http://www.example.com.br/folder/my-profile. I have tried lot of rewrite method but i can’t redirect the URL. Please anyone help to solve this.

Member Avatar for diafol
0
112
Member Avatar for tim-work

I want to write friendly urls by changing **`fullnews.php?id=123`** to something like **fullnews.php/123/This-is-the-Headline** or **fullnews.php/This-is-the-Headline-123** "This is the Headline" is the headline of the news item as selected from the database, id is the id selected from the database, I want to attach the id to the headline in url …

Member Avatar for vibhaJ
0
184
Member Avatar for ak47carbon

my website page url is mysite/use.php?v=123(it is dummy entry basically it come from another page) i want to convert my url into mysite.use-123.html. i got a code for this purpose from http://roshanbh.com.np/2008/03/url-rewriting-examples-htaccess.html but problem is that when i paste below code in .htaccess it is not working Options +FollowSymlinks RewriteEngine …

Member Avatar for ak47carbon
0
198
Member Avatar for newbie1234

I saw many website user page is like www.xyz.com/hhh From these complete information can be retrive of "hhh" user. I want to know that how www.xyz.com?username=hhh can be convert to www.xyz/hhh Any help

Member Avatar for IIM
0
153
Member Avatar for md.farhad

DirectoryIndex index.php Options All -Indexes ErrorDocument 403 http://www.domain.com/forbidden ErrorDocument 404 http://www.domain.com/error <Files .htaccess> Order Allow,Deny Deny from all </Files> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ $1.php [L,QSA] This is my .htaccess document. I am having problem thats called HTTP Error 500 (Internal Server Error). When i …

Member Avatar for pritaeas
0
125
Member Avatar for diafol

Hi all. Am having a senior moment here. I have a htaccess file thus: Options +FollowSymlinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^/]*)/*([^/]*)/*([^/]*)/*([^/]*)/*([^/]*)/*$ index.php?lang=$1&top=$2&middle=$3&bottom=$4&sub=$5 [L] Which basically allows me to show http://www.mysite.com/cy/tgau/cemeg-1/ for http://www.mysite.com?lang=cy&top=tgau&middle=cemeg-1 That's all well and good. However, I'm getting real problems directing my forms to /includes/login.php This …

Member Avatar for cereal
0
220
Member Avatar for dantheman50_98

Hi There, I'm building a site using opencart and every page on the site has an seo-friendly url except for one, which is the main page of the blog. The url for this is: /index.php?route=blog/category/home/index.php I'd like this to be just plain old /blog but I can't seem to get …

0
93
Member Avatar for Reverend Jim

Would it be a big deal to add an option to the Search to restrict results to the current forum only? When I am on the VB.net forum, for example, and I do a search, I am interested in results in the VB.Net forum only.

Member Avatar for jbennet
2
312
Member Avatar for me!

I wanna make the frontpage of a JOOMLA website look like a blog with the image to the left and the intro text to the right with a readmore link on the bottom. So far I got it, however the code below grabs the first image of the article and …

Member Avatar for me!
0
501
Member Avatar for Advokat

Hey guys and girls, I'm now on this forum, but looking forward to some interesting debates :) I work at an "advokat (advokatkontor)" meaning a lawfirm in danish. I work with different things, but im the only person that knows any IT advokater/lawyers = knows nothing about computers :p My …

Member Avatar for pritaeas
0
149
Member Avatar for sammrat23

I have a website built in .php but we have converted it to .html by using "mod rewrite". the mod rewrite code used in .htaccess is "RewriteEngine on RewriteRule ^(.*)\.html$ $1.php" Now the problem is my website shows up in both .php and .html. for example: [url]www.mydomain.com/index.html[/url] and also [url]www.mydomain.com/index.php[/url]. …

Member Avatar for diafol
0
172
Member Avatar for AnkurThakur

Hello Guyz, I could not found any Forum for Web Servers or something related to my problem so I am posting it here. So I am having trouble with Regular Expressions in HTACCESS. So what I have in my website is : [B]ROOT : (my web root is in a …

Member Avatar for pritaeas
0
151
Member Avatar for AdriftUniform

Hi all, I am sorry if I have posted this in the incorrect place but I couldn't see an Apache section. I am working on some ReWrites and ReDirects in my htaccess file, my reason for doing this is because I am developing a new design and layout for an …

Member Avatar for AdriftUniform
0
190
Member Avatar for ganeshrnet

I'm looking for a good vanity url for my website... i wish to have the following type of url for my website:- [B][url]http://www.myweb.com/topic_name/123[/url][/B] where the original query string is [B][url]http://www.myweb.com/topics.php?title=topic_name&id=123[/url][/B] I tried to get the scripting from many websites, but none gave me want I wanted... So i've approached daniweb. …

Member Avatar for diafol
0
149
Member Avatar for haimz

hello evryone, i'm changin the url by [CODE]RewriteEngine on RewriteRule ^forum-(.*).html$ ./forum.php?id=$1[/CODE] now if the url is forum.php?id=231, how can i auto change the url to forum-231.html thanks, haim .

Member Avatar for haimz
0
365
Member Avatar for Todx

I'm having problems with .htaccess rewrite rule. I want to convert: [QUOTE][url]http://www.domain.com/?d=SOME_STRING[/url][/QUOTE] To: [QUOTE][url]http://www.domain.com/download.php?file=SOME_SRING[/url][/QUOTE] So far I've some up with this: [CODE]Options +FollowSymlinks RewriteEngine on RewriteRule @|\?d=(.+)$ download.php?file=$1[/CODE] Anyone have an idea on why this isn't working? *mod rewrite is enabled*

Member Avatar for vibhaJ
0
97
Member Avatar for thedonedeal

Is there a way to write a line in .htaccess so that a rewrite rule will NOT rewrite the URL if a certain query_string is found or if a certain page is referring to the page about to be rewritten?

0
111
Member Avatar for PaliGap

I need a rewrite rule to change requests for a specific script on one domain and sub-domain to another domain and path: [I][url]http://domain-one.com/cgi-bin/38837728.cgi[/url][/I] or [I][url]http://www.domain-one.com/cgi-bin/38837728.cgi[/url][/I] to [I][url]http://somwhere-else.net/cgi-bin/abc/38837728.cgi[/url][/I] I have other domains that share the same script directory as domain-one.com and [url]www.domain.com[/url]. But I only want to redirect requests for domain-one.com …

Member Avatar for manojsamtani
0
140
Member Avatar for addy01

hi guys can u help me out of this ? when ever i enable the vbseo plug-in and i click one of my thread it's appear error ? Not Found The requested URL /upload/f17/ was not found on this server. ----------------------------------- what should i do can i change the, URL …

Member Avatar for Dani
0
84
Member Avatar for bwbyron

So this is my original code. [CODE] import random hints = {"python" : "A program", "jumble" : "The act of mixing up", "easy" : "Facil is to Spanish as ____ is to English", "difficult" : "Not eaay, but ____", "answer" : "To ____ a question.", "xylophone" : "An instrument. Also …

Member Avatar for woooee
0
727
Member Avatar for TheAlex

Is it best (or even possible) to replace spaces using URL Rewrite or using ASP/ASP.net before the URL is sent? If it's the former, can it be done with a wizard within IIS? Also, I will need to replace capital letters and accented characters with an equivalent e.g. é with …

Member Avatar for Fortinbra
0
453
Member Avatar for koolander

Hi all! I have an issue with the mod_rewrite and i hope someone here can help me out!?! :) My webhosting company does not support rewritemap and i really need to have SEO friendly URLS. I can't pass the name of the page directly since it can contain characters like …

Member Avatar for koolander
0
111
Member Avatar for muralibobby2015

hello.. i have to write htaccess for mysite. actually we have two domains. '.com and .in' . for example i opened '.com' site it will actomatically access files from '.in' domain. there is no files in .com site. how to write .htaccess for this. thanks.

Member Avatar for muralibobby2015
0
137
Member Avatar for Rohlik

Hi guys, I have a problem with this rule in .htaccess [ICODE]#RewriteRule ^(.*).xml $1.php?%{QUERY_STRING}[/ICODE] I need this rule transfer to Lighttpd web-server system. Very big thanks.

Member Avatar for pritaeas
0
132
Member Avatar for Aeterna

can anybody help me with a mod_rewrite rule real quick? RewriteRule ^(.*) index.php?category=$1 [L] its working but my file data.php which is being loaded into index.php via jquery get isnt outputting anything and I think its being routed to index.php?category=data.php which is wrong obviously. so how can I redirect things …

Member Avatar for pritaeas
0
133
Member Avatar for jude.dcoutho

Hi, I was looking into SEO friendtly urls and how to get it set up . I found some solutions to do with mod_rewrite . If the usual URL is [url]http://website.com?category_id=10&post_id=10[/url] And i want the url like [url]http://www.website.com/category[/url] name/ post title / how do i do this ? ive seen …

0
137
Member Avatar for ahmedeqbal

Friends, I’ve list of categories with url look like this ‘index.php?cat_id=1,2,3’ I want to rewrite my url as ‘demo-page.html’ However I want to be use here my page title in url page. How its possible? Waiting for reply...

Member Avatar for theausum
0
124
Member Avatar for dschuett

Hi all, This may be asking a bit much, but this is my FIRST advanced PHP/MySQL project. Any help is appreciated. I am currently building a website for one of my friends photography business, and she has requested to allow her clients to be able to sign with a username …

Member Avatar for Lsmjudoka
0
116
Member Avatar for BlueCharge

Hi everyone, So i have the following code which is used so i don't have to have .php at the end of my files and also more importantly to view members profiles by having there username after my domain. Unfortunately if the user has a space in their name you …

Member Avatar for sourcebits
0
146
Member Avatar for architact

Hello, I just finished creating an online site builder and now its time to launch it, I am facing a problem related to URL-Rewriting. My site builder contains all the files and folders which will make up the client's site inside a folder named as "usersite", and can be access …

0
121

The End.