Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
htaccess mod_rewrite
- Page 1
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by vortex_1
In my opinion, implementing a feature in a bouncing balls simulation where a new ball is created when two balls collide can add an interesting and dynamic element to the simulation. This feature can introduce a sense of complexity and unpredictability, making the simulation more engaging and challenging for users. It could also provide an …
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
Solved the problem with this
htaccess
in mode rewrite ON But I don't understand why. …
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
… database", because it seems your question is about
htaccess
and PHP. I'm confused what is being retrieved… are the values of BASE_URL and READ_LEX? Additionally, your .
htaccess
file said readlex.php but in your example in your…php. You should be able to use the following .
htaccess
file I have below to convert: http://localhost/readlex.…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
… I cannot insert php strings. Example from database example that
htaccess
makes unfriendly : <em><a href="../read…;Lucca</a></em> That is, this
htaccess
does not work with STATIC URL, but load page not…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
…between readlex and read_lex is my mistake Your
htaccess
example is right except that it doesn't …("BASE_URL", "http://localhost/mysite/"); if($
mod_rewrite
== 'Off') { define("URL_CATEGORY", "category…} Which I then recall in this link and
htaccess
works fine: <a href="<?php …
Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
I have problem with this
htaccess
in STATIC URL RewriteEngine On RewriteRule ^readlex/(.*)$/?$ readlex.php?slug=$…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
… this php: I see you have on line 3 `if($
mod_rewrite
== 'Off') {`. Where do you set the value of… `$
mod_rewrite
`? How do you tell if it's Off or On? > Which I then recall in this link and
htaccess
works…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
> Where do you set the value of $
mod_rewrite
? I set On-Off $
mod_rewrite
in database from Dashboard Admin. Now is always ON… http://localhost/mysite/ ? As Above The problem is that this
htaccess
only works with DYNAMIC URLs and not with STATIC URLs…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
The .
htaccess
makes the URL accessible from a friendly URI. However, it does not change any of your HTML code for you. You will still need to modify all of your HTML code to link to the new friendly URI instead of the original URL.
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
I suppose I’m not properly understanding your question. Do you mean when you go to the URL in your browser localhost/mysite/readlex.php?slug=Le-mura-di-Lucca it doesn’t load, but when you go to the rewritten URL it works fine?
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
I also think the problem is that with
mod_rewrite
on, READ_LEX begins with / and with
mod_rewrite
off, READ_LEX *ends* with /. Is the value…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
I expressed it badly. They are both dynamics. But: href="<?php echo BASE_URL.READ_LEX ?>Provvedimento-di-sospensione-Trib-Cagliari" // result = localhost/mysite/readlex/Provvedimento-di-sospensione-Trib-Cagliari href="localhost/mysite/readlex.php?slug=Provvedimento-di-sospensione-Trib-Cagliari" // …
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
Isn't that expected behavior?
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
Thank you for your patience
VB2010- why i get a different vertical size\color on RayCasting?
Programming
Software Development
1 Month Ago
by cambalinho
these is the VB6 function for RayCasting: Private Sub DrawRays() Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double Dim HorizX As Double Dim HorizY As Double Dim MapX As Long Dim MapY As Long…
Re: Redirect non-www to www cons?
Digital Media
Digital Marketing
Search Engine Strategies
1 Month Ago
by Read a Book
…/attachments/4/d438c9a839df9a1bdf5fbf4256f29a2f.png) i am using this code in
htaccess
file to rewrite the URL's # Rewrite product URLs RewriteRule…
Re: Redirect non-www to www cons?
Digital Media
Digital Marketing
Search Engine Strategies
1 Month Ago
by Read a Book
… redirects from non-www to www. I have code in `.
htaccess
` file ` # Redirect non-www to www RewriteCond %{HTTP_HOST} !^www\. [NC…
Re: Redirect non-www to www cons?
Digital Media
Digital Marketing
Search Engine Strategies
1 Month Ago
by Read a Book
… i do this? I already have that rule in the `.
htaccess
` file. This should be in somewhere else place ? UPDATE: I…
Re: Redirect non-www to www cons?
Digital Media
Digital Marketing
Search Engine Strategies
1 Month Ago
by Dani
You are correctly implementing 301 redirects in an .
htaccess
file. Ensure that the redirects point to the exact same URL as you have in the canonical. Additionally, ensure that all internal links throughout your site point to that same URL as well.
Re: Learning about AI
Community Center
1 Month Ago
by Dani
Neither article is published on a site devoted to digital marketing, or written by someone close to the SEO industry, so I take both articles with a grain of salt. However, according to the Tech Crunch article, Google announced a search quality update on Tuesday. I actually spent the first half of this week at an SEO conference where they made the …
Re: masking a url using .htaccess / Mod ReWrite based on variable value
Programming
Web Development
9 Years Ago
by showman13
… would certainly resolve a lot of issues for me. The .
htaccess
file that I currently use is this: php_value session.gc_maxlifetime…
masking a url using .htaccess / Mod ReWrite based on variable value
Programming
Web Development
9 Years Ago
by showman13
Here is the scenario... I have a website that orignated as an MLM / retail combination site... It was determined that we needed some seperation between the Rep portion and the Retail portion, so I spent weeks modifying the code in over 40 scripts to separate a visitors path basedn on their point of entry, so all the displayed graphics and content…
mod-rewrite on godaddy server
Hardware and Software
Linux and Unix
13 Years Ago
by bjeffries
… the answer and cannot find it. Here is my entire .
htaccess
file: #Rewrite Rules Options -MultiViews Options +FollowSymLinks +Indexes RewriteEngine on…
mod-rewrite rule help
Programming
Web Development
11 Years Ago
by vlowe
Hi, Please help me work out this mod-rewrite issue while trying to make my urls SEF. RewriteEngine On Options +FollowSymLinks # Browse Category RewriteRule ^category/[!/.]*([A-Za-z]+)/?$ /browse.php?cat=$1 [NC,L] # View Item RewriteRule ^view/([0-9]+)/([a-zA-Z0-9-]+)$ /view.php?item_id=$1&sef=$2 [NC] …
Re: Mod Rewrite with get variable
Programming
Web Development
11 Years Ago
by LastMitch
**@dan_code_guru** >How do i mod rewrite so that i have a page with a get variable is passed to parameter. Try this **Mod Rewrite Generator**: http://www.generateit.net/mod-rewrite/ If you really want to learn how to write it by hand then read this: http://www.cyberdesignz.com/blog/website-design/url-rewriting-top-5-ways-of-php-url-…
Re: Mod Rewrite with get variable
Programming
Web Development
11 Years Ago
by LastMitch
>LastMitch - thank you for the Mod Rewrite Generator. I have never seen that before and will make my life so much easier - woohoo :) Actually got that **Mod Rewrite Generator** link from **diafol** when he helping someone with it. I can't take credit for finding this link but I do used it and like you mention it's very useful!
Mod Rewrite with get variable
Programming
Web Development
11 Years Ago
by 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
Re: Mod Rewrite with get variable
Programming
Web Development
11 Years Ago
by simplypixie
LastMitch - thank you for the Mod Rewrite Generator. I have never seen that before and will make my life so much easier - woohoo :)
Mod Rewrite
Digital Media
UI / UX Design
13 Years Ago
by ppetree
….php[/url] [b]This is the mod-rewrite from the
htaccess
:[/b] [code] Options +FollowSymlinks +ExecCGI RewriteBase / RewriteRule ^review_photos-(.+)-([0-9…
Mod Rewrite Help
Programming
Web Development
13 Years Ago
by sacarias40
I already have a mod rewrite directing all traffic in my site through my domain.com/index.php file. i because this is happening, i need another rewrite to make any call to the url of: domain.com/blog to actually go to [url]http://domain.com/blog/index.php[/url] instead of just back to my normal domain.com/index.php is there anybody out …
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC