Solved

URL rewriting

Posted on 2013-10-31
1
344 Views
Last Modified: 2013-11-06
Hi

I am running Apache as a reverse proxy server with Oracle Apex on CentOS 6.4.  
The URL Apex generates is quite ugly and search engine unfriendly.

Therefore we need URL rewriting so that URL becomes nice.

So http://mydomain.com/no/hjem should bring http://http://mydomain.com/apex/f?p=200:1:0::::p0_spraak:328 in the background.

Can someone please help?

Regards,
Habib
0
Comment
Question by:sysautomation
1 Comment
 
LVL 50

Accepted Solution

by:
Steve Bink earned 500 total points
ID: 39615940
Is the entire URL unique, or is it just small parts of it?  If you have a number of these, you may want to consider using RewriteMap.

A single rule might look something like this:

RewriteRule /?no/hjem http://mydomain.com/apex/f?p=200:1:0::::p0_spraak:328 [NC,R,L]

Open in new window


If the friendly URL could include some query string values, be sure to add the [QSA] flag to the rule.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
htaccess file errors for 301 Redirect 4 80
Internal wordpress pages 404 5 42
PHP Error Settings 12 81
Generic Rule to Redirect and Rewrite URL using .htaccess 8 82
In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question