I have a very long a unfriendly URL an I'm looking to make SEO better for the site:
http://www.site.com/sub-site/index.php?page=nameofpage&locale=en_EN
I would like to have this instead:
http://
www.site.com/sub-site/en/nameofpage
all the URLS are hard coded in the links in the form of:
<a href="index.php?page=nameofpage&locale=e...
I have been working with an existing website out company has running until I finish developing the new site.
I've been asked to add some additional functionality to booking pages that will automatically set a booking button based on passed parameters.
The existing working regex is as follows:
RewriteRule ^.+-(\d+)\.accommodation$ prop...
My app creates a mailto-esque link that takes the end user to a Hotmail compose screen with various attributes pre-filled. Most of the functionality I need is working: to, cc, subject, body. However, Hotmail seems to be stripping out any BCC attributes that I pass into the URL.
For example, this link works as advertised:
http://mail....
I am admittedly a PHP newbie, so I need some help.
I am creating a self-designed affiliate program for my site and have the option for an affiliate to add a SubID to their link for tracking. Without having control over what is entered, I have been testing different scenarios and found a bug when a full URL is entered (i.e. "http://examp...
Hi,
I was wondering if there is some configuration, built-in functionality in tomcat that logs the URLs people are using to reach your website?
for example:
http://www.mypage.com/1.htm
http://www.mypage.com/2.htm
http://www.mypage.com/3.htm etc etc
Can we enable some tomcat setting that would log which pages are being accessed the mos...
I have an e-commerce application that using a .axd handler for the page extensions.
I simply want to use IIS7 to create a rule that says .shop = .axd
Can this be done? If so how should I go about it?
Thanks
...
no clue what im looking for, so if you can tell me what this is, what i should lookup for this.
http://website.com/page.php#article23
The Number sign isnt a url request, like GET or POST, its more of a "Ahref Name", but this was with ajax, where it would change the whole frame, wondering what its called.
...
Hey,
I'm using an API which, given a url, redirects to a file on the server. The file names have "_s,_m and _l" appended to the end (small, medium, large). However, since the url's querystring is parsed dynamically, I don't retrieve the actual file name. The image displays correctly, but is it possible to retrieve the filename of the i...
Do I gain something when I transform my $url like this: $url = URI->new( $url )?
#!/usr/bin/env perl
use warnings; use strict;
use 5.012;
use URI;
use XML::LibXML;
my $url = 'http://stackoverflow.com/';
$url = URI->new( $url );
my $doc = XML::LibXML->load_html( location => $url, recover => 2 );
my @nodes = $doc->getElementsByTagName( ...
I am writing a python script that downloads a file given by a URL. Unfortuneatly the URL is in the form of a PHP script i.e. www.website.com/generatefilename.php?file=5233
If you visit the link in a browser, you are prompted to download the actual file and extension. I need to send this link to the downloader, but I can't send the downl...
I am creating a web app that accepts input of news items (title, article, url). It has a page news.php which creates a summary of all news items inputted for specified dates, like so:
News
4/25/2010
Title 1
[URL 1]
Article 1
Title 2
[URL 2]
Article 2
and so on...
I have two other pages, namely preview.php and send.php , both of whi...
like this:
handlers:
- url: /media
static_dir: media
- url: /form;/items.html
script: validate.py
/form;/items.html
i want /form and /item.html use validate.py
thanks
...
I have a project where I'm loading relative image Uri's from an xml file.
I'm loading the image like this:
if (child.Name == "photo" &&
child.Attributes["href"] != null &&
File.Exists(child.Attributes["href"].Value))
{
Image image = new Image();
image.Source = new BitmapImage(new Uri(child.Attributes["href"].Value, UriKi...
I want to be able to take a url and map it to a set of web parameters. For example:
www.web.com/1/2/3 would be interpreted as www.web.com/default.asp?x=1&y=2&z=3
I know I've seen it done, I just can't find it anymore. Any ideas?
...
I want that its name would be the page address. For example, if page has heading "Some Page", than its address should be http://somesite/some_page/.
"some_page"-name generated by system automatically. "some_page" - is the unique identifier of page. The problem in that the user in the future can enter a name which already exists that will...
Hi,
My link_to tag is:
<%= link_to("My test title",{:controller=>"search", :action=>"for-sale", :id=> listing.id, :title => listing.title, :search_term => search_term}) %>
and produces this ugly URL:
http://mysite.com/search/for-sale/12345?title=premium+ad+%2B+photo+%5Btest%5D
How can I get link_to to generate:
http://mysite.com/...
Ok, so I'm using Jquery's AJAX function and it's having trouble passing a URL with a http address. So I'm hoping to "get" the GET values and send them to another URL — so: a local php file begin passed GET values, which in turn forwards the GET values to another url.
Maybe curl is the answer? I don't know. It's got to be a very short an...
Is it possible to call WSDL (bacikHTTPbinding) method just by calling some url from browser?
...
How to rewrite a url like:
http://domain.com/class/method/parameter1/parameter2/.../parameterN
to
http://domain.com/index.php?c=class&m=method&p1=parameter1&...&pN=parameterN
The main idea is to create the possibility of using unlimited number of query parameters.
Thanks.
...
Possible Duplicates:
Identifying if a URL is present in a string
Php parse links/emails
I'm working on some PHP code which takes input from various sources and needs to find the URLs and save them somewhere. The kind of input that needs to be handled is as follows:
http://www.youtube.com/watch?v=IY2j_GPIqRA
Try google: http...