url

Looking for *the* URL regular expression

Dudes, do you have it? ...

webcontent save in csv format

I want to read the content from website and save then into a csv file in php, can anyone please tell me how I can do this. ...

Text as Hyperlink in objective c

Hi, I have a text label with the text set as Contact Us.. When user taps on this label it should launch safari to open the web page.My doubt is how to make Contact Us as hyperlink.Now I can't modify my code to include a UIWebView..Please help me guys..I am in final stages of my project..If possible please help me with sample code..thanks...

Codeigniter setup

I'm wondering if there is something wrong with my CI setup. If I load the base_url ie http://localhost/~User/project/ then it loads perfectly, adding the index.php before the default controller. However, my config file has $config['index_page'] = ''; As a test I returned this value to 'index.php'. When I loaded the base_url after t...

Facebook login "given URL not allowed by application configuration"

I've added facebook login to my site. However, when I click the button, I get a red box that says: Invalid Argument Given URL is not allowed by the Application configuration. If I continue to login then I get: API Error Code: 100 API Error Description: Invalid parameter Error Message: next is not owned by the application. Not sur...

Codeigniter _remap function

Please help I want to use first URI segment into my CodeIgniter website. Like when I open these url they opens my profile: http://www.facebook.com/buddyforever or http://www.myspace.com/zarpio How can I do this with CodeIgniter? I checked _remap function but first coming controller how to hide controller? ...

php : SEO friendly urls

Hello, I am working on a new project, I want to create SEO friendly URL's for this site like mysite.com/first_content, mysite.com/second_content. URL's must be dynamic which means URL's must related to the content title. How can I done this ? Is is possible to use htacess, ? Thanks ...

Get resulting URL in Java

Is it possible to get the resulting URL from a given URL? For example System.out.println(realUrl("sourceforge.com")); private String realUrl(String url) { .... } Should print the resulting URL "http://sourceforge.net/", and similarly tinyurls would return the destination URL ...

What is the difference between file:/, file://, file:///

Today I saw in a Java application several different approaches to load a file. file:/ file:// file:/// What is the difference of these three URL beginnings and what is the preferred way of using them? Thanks a lot Stefan ...

Encrypting or Hiding Strings sent in the url

Hello I am trying to send a Topic name in the URL like, <a href="hello?TopicN=blahblahblha"> and then output the topic name as the Forum topic title. But the problem is the user can just change the name if they want which doesnt do any harm since I dont really do anything with teh name but I was wondering is there a way to encrypt or...

Google indexing urls redirect 301

Hello, Let say my site has the following URLs indexed in Google: /test/1 /test/2 /test/3 For some reasons, I want those same pages to have the following URLs: /test/abc /test/def /test/ghi I noticed that even if I use a 301 redirect from /test/1 to /test/abc, the URL /test/1 stays in the Google index for a while after the robot hi...

How to redirect to a url with non-English characters?

I'm using pylons, and some of my urls contains non-English characters, such as: http://localhost:5000/article/111/文章标题 At most cases, it won't be a problem, but in my login module, after a user has logging out, I try to get the referer from the request.headers, and redirect to that url. if user_logout: referer = request.headers.g...

Retrieving value from Request URL in Wicket

HI, I have a URL which will call a method my method in Java. it looks like this http://www.example.com/method?value=24 how can i retrieve value 24 and use it in my called method? I am using Wicket Framework Thanks ...

Any way for PHP/CodeIgniter to read the URL, when it's like site.com/#/xyz ...?

Hi Stackers, Basically I have a mostly Ajax-based site. When you load up a result, it appears via Ajax, and the URL address bar changes from mysite.com to mysite.com/#xyz/A_Random_Title. A_Random_Title is an SEO-friendly formatted title of the thing loaded up, but the important part is #xyz. xyz is the ID of the loaded result and is us...

Multiple IIS7 URL Rewrite rules

I'm trying to write IIS7 URL Rewrites rules that do two things: If a request is to http, force it to https If the url has a "www" in it, remove it and redirect to different url In both cases I want to redirect to https://my.domain.com (substitute for real domain name) I have no problem with the http to https rule. Also, the case of...

How to parse a string URL into MVC Route Values (area, controller, action, querystring)?

Is there a method to extract the area, controller, action, and querystring from a URL in ASP.NET MVC? Don't want to reinvent the wheel implementing my own if there's already a way to do it. Thanks! ...

PHP url path is html?var=something&&var_2=somathing_else possible?

I have a Joomla website. The suffix of the url path assign by the SEF of Joomla assigns .html to the end of my pages URLs. If I want to get information from the URL, is it possible to use: domain.com/name_assign_by_Joomla_SEF.html?var=something&&var_2=something_else for the $_GET to work? ...

Redirecting a url containing a hollow square character

A link from a website beyond my control links to an erroneous url. The erroneous url contains a hollow square character. How do I write a redirect 301 to deal with this occurance? When attempting to paste the character in the .htaccess file I get a question mark. If I need more than a redirect 301, then what? ...

How to prevent internet explorer from adding slashes after hash in URL

Hello! I am creating my navigation in site using Ajax and urls like example.com/#doStusff,1,2,3 Together with changing page location, I am also changing title of page. It works for FF, Safari but IE after operation add slashes to url's part after the hash and changes title to default one. Can this behavior be prevented or can you provi...

How come some site urls do not include a file extension?

Hey guys, quick question. This has been scratching at my brain for some time so here it goes. I was browsing the internet and noticed, youtube for example contains a url like this to denote a video page: http://www.youtube.com/watch?v=gwS1tGLB0vc. My site uses a url like this for a topic page: http://www.site.com/page.php?topic_id=6f3246...