Solved

URL rewriting

Posted on 2013-10-31
1
341 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need assistance modifying php script 3 40
Clearing cache in word press. 3 49
Web Reply Form - PHP with Upload 4 53
Domino Website - Redirection 12 46
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 running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

947 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now