Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7940503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:24:32+00:00 2026-06-03T23:24:32+00:00

I want to encode the post’s title so I can add it to my

  • 0

I want to encode the post’s title so I can add it to my URLs. The problem is that urlencode() gives me an URL such as:

Title:

Samsung Nexus S + Hard Case

URL:

Samsung%20Nexus%20S%20+%20Hard%20Case

And I want one more friendly like:

Samsung+Nexus+S+Hard+Case

I don’t know what should happen to the ‘+’ symbol. How can I do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T23:24:33+00:00Added an answer on June 3, 2026 at 11:24 pm

    Replace the spaces with + since %20 is the url encoding of a space. Here’s an example of space replacement in PHP:

    str_replace(' ', '+', $url_encoded_string);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a big php code that i want to encode and decode it
As the title mentioned, I want to encode a Image Obj into some kind
In my java app I'm preventing XSS attacks. I want to encode URL and
I want to send a URL in a POST request in a variable called
Do I need to encode strings (eg URL) I pass as a POST form
I want to add a swf object in a post to wall message with
I want to know that what is url encoding . I have 2 jsp
I want to encode DNS protocol header using C and create a UDP datagram.
I want to encode and decode Bitmap object in string base64 . I use
I want to encode binary file into base64 and put it into php page

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.